package dp.visitor.shop;

import java.util.ArrayList;
import java.util.List;

public class ObjectStruture {
    public static List<ItemElement> getList(){  
        List<ItemElement> list = new ArrayList<ItemElement>();  
        
		list.add(new Book(20, "1234"));
		list.add(new Book(100, "5678"));
		list.add(new Fruit(10, 2, "Banana"));
		list.add(new Fruit(5, 5, "Apple"));
        
        return list;  
    }  
}
